<div id="main_wrap">
    <div class="center_wrap clearfix">
        <h2 class="no_bottom no_top breadcrumb">
            <a href="{$baseurl}/categories/">{$lang50}</a> &gt; {insert name=get_acatname value=var assign=cname CID=$smarty.request.filter}{$cname}
        </h2>

        <div id="sidebar_wrap">
            <div id="list_cats">
			<a class="category-txt" href="{$baseurl}/categories/">
	<img alt="Category" src="{$baseurl}/images/tjj_music_we_categories.jpg">
        </a>
                <ul id="ul_categories">
                    {insert name=get_audio_categories assign=listaudiocategories}
                    {section name=o loop=$listaudiocategories}
                        {if $smarty.request.filter eq $listaudiocategories[o].CATID}
                            <li><b>{$listaudiocategories[o].name|stripslashes}</b></li>
                        {else}
                            <li><a href="{$baseurl}/browse/categories/audios/z/{$listaudiocategories[o].CATID}/1/{$listaudiocategories[o].name|stripslashes}">{$listaudiocategories[o].name|stripslashes}</a></li>
                        {/if}
                    {/section}
                </ul>
            </div>
            <div class="sky_ad">
                <center>
                    {insert name=get_advertisement value=var AID="2"}
                </center>
            </div>
        </div>

        <div class="right col1">
            <div class="cat_box_full clearfix" id="browse_main"> 

                {*<!--
                ## commented for integration on 3 march 2012
                <p class="right results">{if $error eq ""}{$beginning} - {$ending} {$lang61} {$total} {$lang796}{/if}</p>
                <ul id="search_nav" class="clearfix">
                <li class="current">{$showtitle}<span></span></li>
                </ul>-->*}
                <table width="100%" cellspacing="3" cellpadding="3" border="0">
                    <tr>
                        <td valign="top">
                            <h2>{$showtitle}</h2>
                        </td>
                    </tr><tr>
                        <td valign="top">
                            <div id="sorting">
                                Sorting:
                                <ul>
                                    <li><a href="{$baseurl}/browse/audios/z/0/1/{$lang174}&cat={$filter}">{$lang191}</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/1/1/{$lang178}&cat={$filter}">{$lang192}</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/2/1/{$lang179}&cat={$filter}">{$lang193}</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/3/1/{$lang180}&cat={$filter}">{$lang194}</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/4/1/{$lang182}&cat={$filter}">{$lang195}</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/5/1/{$lang181}&cat={$filter}">{$lang181}</a></li>
                                </ul>
                            </div>

                            <div id="featuring">
                                Featured:
                                <ul>
                                    <li><a href="{$baseurl}/browse/audios/z/0/1/ALL&featured=all&cat={$filter}">All</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/0/1/FEATURED&featured=1&cat={$filter}">Featured</a></li>
                                    <li><a href="{$baseurl}/browse/audios/z/0/1/UNFEATURED&featured=0&cat={$filter}">Unfeatured</a></li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                </table>
                <div class="cat_body_full clearfix">
                    {*<!--<p class="pink add_border">
                    <a href="{$baseurl}/browse/audios/z/0/1/{$lang174}">{$lang191}</a>&nbsp;|&nbsp; 
                    <a href="{$baseurl}/browse/audios/z/1/1/{$lang178}">{$lang192}</a>&nbsp;|&nbsp;
                    <a href="{$baseurl}/browse/audios/z/2/1/{$lang179}">{$lang193}</a>&nbsp;|&nbsp;
                    <a href="{$baseurl}/browse/audios/z/3/1/{$lang180}">{$lang194}</a>&nbsp;|&nbsp;
                    <a href="{$baseurl}/browse/audios/z/4/1/{$lang182}">{$lang195}</a>&nbsp;|&nbsp;
                    <a href="{$baseurl}/browse/audios/z/5/1/{$lang181}">{$lang181}</a>
                    </p>-->
                    *}
                    <!-- LOOP START -->

                    {if $error ne ""}
                        {include file="show_error.tpl"}
                    {/if}
                    {if $showmessage ne ""}
                        {include file="show_message.tpl"}
                    {/if}

                    <div id="browse_results">
                        <ul>
                            {section name=i loop=$listaudios}
                                <li class="video">
                                    <div class="video_i">
                                        <a href="{$baseurl}/audios/{$listaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$listaudios[i].AUDIOID}">
										{capture assign='player'}images/audiothumbs/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}{/capture} 
                                        {if $player|file_exists}
                                            <img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}" />
                                        {else}
                                            <img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
                                        {/if}
                                            {*<img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}" />*}
                                            {if $listaudios[i].featured eq '1'} 
                                                <div class="tag"><span class="featured">featured</span></div>
                                            {/if}
                                        </a>
                                        <a href="{$baseurl}/audios/{$listaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$listaudios[i].AUDIOID}">
                                            <span class="artist_name">{$listaudios[i].title|stripslashes|truncate:15:"...":true}</span>
                                            <span class="song_name">{if $listaudios[i].artist neq ""}{$listaudios[i].artist|stripslashes|truncate:15:"...":true}{else}Anonymous{/if}</span>
                                        </a>

                                    </div>
                                    </il>
                                {/section}	
                        </ul>
                    </div> 
                    <!-- LOOP END -->

                </div>

                <div class="paginate">
                    {$pagelinks}
                    {*<!--<p class="left">{if $error eq ""}{$beginning} - {$ending} {$lang61} {$total} {$lang796}{/if}</p>-->*}
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>